package com.bookstore.mappers;

import com.bookstore.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    User selectUser(@Param("user") User user);

    List<User> selectAll();

    int updateByPrimaryKey(User record);
}